Interface Link

All Superinterfaces:
IPCObject
All Known Subinterfaces:
Antenna, Cable
All Known Implementing Classes:
AntennaImpl, CableImpl, LinkImpl

public interface Link extends IPCObject
Information provided by the PKI file:

    \class Link
    
    \brief Link is the class that handles the connection link.
    
    \example network().getDevice("Router0").getPort("FastEthernet0/0").getLink()
    
Author:
Auto-generated
  • Method Details

    • getConnectionType

      ConnectType getConnectionType()
      Information provided by the PKI file:
      
          \brief Returns the connection type.
          
          \return CONNECT_TYPES,      the connection type.
          Connection types:                   FIRST_TYPE = 8100,
          ETHERNET_STRAIGHT = FIRST_TYPE,
          ETHERNET_CROSS,
          ETHERNET_ROLL,
          FIBER,
          PHONE,
          CABLE,
          SERIAL,
          AUTO,
          CONSOLE,
          WIRELESS,
          COAXIAL,
          OCTAL,
          CELLULAR,
          USB,
          CUSTOM_IO,
          BLUETOOTH_PAIRED,
          BLUETOOTH_BROADCAST,
          LAST_TYPE = BLUETOOTH_BROADCAST
          
              
      Returns:
      ConnectType Returns a ConnectType